riscv: Enable CONFIG_SYS_BOOT_RAMDISK_HIGH for using initrd
authorAnup Patel <[email protected]>
Mon, 25 Feb 2019 08:15:33 +0000 (08:15 +0000)
committerAndes <[email protected]>
Wed, 27 Feb 2019 01:12:34 +0000 (09:12 +0800)
This patch enables CONFIG_SYS_BOOT_RAMDISK_HIGH for RISC-V
because bootm will update initrd location in DTB only if
CONFIG_SYS_BOOT_RAMDISK_HIGH is enabled. If we don't enable
this option then bootm assumes DTB already has initrd details
which is not the case most of the time.

Signed-off-by: Atish Patra <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Lukas Auer <[email protected]>
arch/riscv/include/asm/config.h

index 81bc975d2e848746823524fb8246e39858cc7b56..156cb94dc04664d816deba7b047857952dad840c 100644 (file)
@@ -8,5 +8,6 @@
 #define _ASM_CONFIG_H_
 
 #define CONFIG_LMB
+#define CONFIG_SYS_BOOT_RAMDISK_HIGH
 
 #endif